package com.csap.framework.oauth2.client.rest;

import cn.dev33.satoken.oauth2.model.AccessTokenModel;
import com.csap.framework.extension.result.ResultParam;
import com.csap.framework.extension.result.ResultUtil;
import com.csap.framework.oauth2.UserInfo;
import com.csap.framework.oauth2.request.LogoutRequest;
import com.csap.framework.oauth2.request.MobileLoginRequest;
import com.csap.framework.oauth2.request.PlatformRequest;
import com.csap.framework.oauth2.request.RegisterRequest;
import com.csap.framework.oauth2.request.RolesRequest;
import com.csap.framework.oauth2.request.RolesResponse;
import com.csap.framework.oauth2.request.TokenRequest;
import com.csap.framework.oauth2.request.UpdateRequest;
import com.csap.framework.oauth2.request.UserPermissionsVo;
import com.csap.framework.oauth2.request.UserRolesRequest;
import com.csap.framework.oauth2.response.RegisterResponse;
import com.csap.mybatisplus.page.Page;

import java.util.Map;
import java.util.Set;

/**
 * @Author ycf
 * @Date 2021/9/23 10:04 上午
 * @Version 1.0
 */
public class Oauth2ClientApiImpl implements Oauth2ClientApi {
    @Override
    public ResultParam<UserInfo> getUserinfo() {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<UserInfo> userInfoId(String loginId) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<AccessTokenModel> token(TokenRequest tokenRequest) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<Boolean> removeByOpenId(String openId) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<RegisterResponse> register(RegisterRequest registerRequest) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<RegisterResponse> onekeyRegister(RegisterRequest registerRequest) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<AccessTokenModel> loginRegister(RegisterRequest registerRequest) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<AccessTokenModel> loginRegisterMobile(RegisterRequest registerRequest) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<AccessTokenModel> loginMobile(MobileLoginRequest mobileRequest) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<Boolean> updateByOpenId(UpdateRequest updateRequest) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<Boolean> logoutByOpenId(LogoutRequest logoutRequest) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<Boolean> addPlatform(PlatformRequest platformRequest) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<Boolean> updatePlatform(PlatformRequest platformRequest) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<Boolean> loginOut() {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<Long> addRole(RolesRequest rolesModel) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<Boolean> updateRole(RolesRequest rolesModel) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<Boolean> remove(Long id) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<Page<RolesResponse>> queryPage(RolesRequest rolesModel) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<Boolean> saveOrUpdateUserPermissions(UserPermissionsVo vo) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<Set<Long>> queryUserRolesByOpenId(UserRolesRequest userRolesRequest) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<String> queryUserRoleNameByOpenId(UserRolesRequest userRolesRequest) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<Map<Long, RolesResponse>> findMapByIds(String ids) {
        return ResultUtil.serviceError();
    }

    @Override
    public ResultParam<Boolean> addUserRoles(UserRolesRequest userRolesRequest) {
        return ResultUtil.serviceError();
    }
}
